import request from '@/utils/request'

// 查询设备通话记录列表
export function listDevice_conversation(query) {
  return request({
    url: '/ora/device_conversation/list',
    method: 'get',
    params: query
  })
}

// 查询设备通话记录详细
export function getDevice_conversation(id) {
  return request({
    url: '/ora/device_conversation/' + id,
    method: 'get'
  })
}

// 新增设备通话记录
export function addDevice_conversation(data) {
  return request({
    url: '/ora/device_conversation',
    method: 'post',
    data: data
  })
}

// 修改设备通话记录
export function updateDevice_conversation(data) {
  return request({
    url: '/ora/device_conversation',
    method: 'put',
    data: data
  })
}

// 删除设备通话记录
export function delDevice_conversation(id) {
  return request({
    url: '/ora/device_conversation/' + id,
    method: 'delete'
  })
}
